ProduceCompilationCacheRequest

data class ProduceCompilationCacheRequest(scripts: List<CompilationCacheParams>)

Represents request frame that can be used with Page#produceCompilationCache operation call.

Requests backend to produce compilation cache for the specified scripts. Unlike setProduceCompilationCache, this allows client to only produce cache for specific scripts. scripts are appeneded to the list of scripts for which the cache for would produced. Disabling compilation cache with setProduceCompilationCache would reset all pending cache requests. The list may also be reset during page navigation. When script with a matching URL is encountered, the cache is optionally produced upon backend discretion, based on internal heuristics. See also: Page.compilationCacheProduced.

See also

Constructors

ProduceCompilationCacheRequest
Link copied to clipboard
fun ProduceCompilationCacheRequest(scripts: List<CompilationCacheParams>)

Properties

scripts
Link copied to clipboard
val scripts: List<CompilationCacheParams>

Sources

jvm source
Link copied to clipboard